package com.iphanta.community.mq.message;

import lombok.Data;
import lombok.ToString;
import org.slf4j.MDC;

import java.util.Date;

/**
 * @author 墨声 E-mail: zehong.hongframe.huang@gmail.com
 * create time: 2/18/22 5:59 PM
 */
@Data
@ToString
public class DynamicFeed {

    private String requestId;

    private Long dynamicId;

    private String authorId;

    private Date createTime;

    public DynamicFeed() {
        requestId = MDC.get("requestId");
    }
}
